#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef WIN32
char *__itoa(int i)
#else
char *itoa(int i)
#endif
{
    char *a = malloc(42);
    if (a) sprintf(a, "%d", i);
    return a;
}
